package com.ge.mythreed.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ge.mythreed.entity.EncryptMobile;
import com.ge.mythreed.entity.PmPromotionTargetlist;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author sz
 * @description 针对表【pm_promotion_targetlist(营销对象信息)】的数据库操作Mapper
 * @createDate 2024-01-24 14:10:27
 * @Entity com.ge.mythreed.entity.PmPromotionTargetlist
 */
@Mapper
public interface PmPromotionTargetlistMapper extends BaseMapper<PmPromotionTargetlist> {

    /**
     * 查询未加密数据
     *
     * @param limitSize
     * @return java.util.List<com.ge.mythreed.entity.PmPromotionTargetlist>
     */
    List<PmPromotionTargetlist> getUnencryptedData(@Param("limitSize") Integer limitSize);

    /**
     * 查询未加密数据数量
     *
     * @return
     */
    int getUnencryptedDataCount();

    /**
     * 更新加密数据
     *
     * @param encryptMobileList
     */
    void updateEncryptMobile(@Param("dataList") List<EncryptMobile> encryptMobileList);

}




